<template>
    <div>
        <el-divider content-position="left">v-copy 复制粘贴</el-divider>
        <el-input v-model="url" readonly>
            <template slot="append">
                <el-button icon="el-icon-copy-document" v-copy="url">复制</el-button>
            </template>
        </el-input>  
    </div>
</template>
<script>
export default {
    data () {
        return {
            url: 'https://gitee.com/evan_origin_admin/vue-directives.git'
        }
    }
}
</script>